package com.immyc.model.entity;

    import com.baomidou.mybatisplus.annotation.TableName;
    import com.immyc.model.po.BaseEntity;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 订单表
    * </p>
*
* @author mayc
* @since 2019-05-12
*/
    @Data
        @EqualsAndHashCode(callSuper = true)
    @Accessors(chain = true)
    @TableName("pm_order")
    public class Order extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;

            /**
            * 购物车ID
            */
    private Long cartId;

            /**
            * 用户ID
            */
    private Long userId;

            /**
            * 订单号，可能有用
            */
    private String orderNumber;

            /**
            * 订单地址ID
            */
    private Long addressId;

            /**
            * 这是订单状态，不同于其他普通数据的status
            */
    private Integer orderStatus;


}
